<if condition="$top_hide eq false">
<div id="weibo_{$weibo.id}" <if condition="$can_hide">class="row top_can_hide"<else/>class="row"</if> <if condition="$top_hide">style="display:none"</if>>
    <div class="col-xs-12">
        <div class="col-xs-12 weibo_content" style="padding: 0;position:relative;">
            <div class="weibo_icon">
                <if condition="check_auth('Weibo/Index/setTop')">
                    <eq name="weibo.is_top" value="0">
                        <li data-weibo-id="{$weibo.id}" title="{:L('_SET_TOP_')}" data-role="weibo_set_top">
                            <i class="icon icon-arrow-up"></i>
                        </li>
                        <else/>
                        <li data-weibo-id="{$weibo.id}" title="{:L('_CANCEL_TOP_')}" data-role="weibo_set_top">
                            <i class="icon icon-arrow-down"></i>
                        </li>
                    </eq>
                </if>
                <if condition="$weibo['can_delete']">
                    <li data-weibo-id="{$weibo.id}" title="{:L('_DELETE_')}" data-role="del_weibo">
                        <i class="icon icon-trash"></i>
                    </li>
                </if>
                <if condition="$can_hide">
                    <li data-weibo-id="{$weibo.id}" title="{:L('_HIDE_TOP_')}" data-role="hide_top_weibo">
                        <i class="icon icon-eye-close"></i>
                    </li>
                </if>
            </div>
            <div>
                <div class="col-xs-2 text-center" style="position: relative;padding: 0px;width:120px;">
                    <a class="s_avatar" href="{$weibo.user.space_url}" ucard="{$weibo.user.uid}">
                        <img src="{$weibo.user.avatar64}" class="avatar-img" style="width: 64px;"/>
                    </a>
                </div>
                <div class="col-xs-10" style="padding: 5px;width:880px;">
                    <eq name="weibo.is_top" value="1">
                        <div class="ribbion-green"></div>
                    </eq>
                    <p>
                        <a ucard="{$weibo.user.uid}" href="{$weibo.user.space_url}" class="user_name">
                            {$weibo.user.nickname}
                        </a>
                        {:W('Common/UserRank/render',array($weibo['uid']))}
                        <span class="text-muted">
                        <a href="{:U('Weibo/Index/weiboDetail',array('id'=>$weibo['id']))}" style="color:#ccc">{$weibo.create_time|friendlyDate}</a>
                        </span>
                        <span class="text-muted pull-right">
                        <span style="color:#ccc">{:L('_FROM_')} <if condition="$weibo['from'] eq ''">{:L('_PC_')} <else/><strong>{$weibo.from}</strong></if></span>
                       &nbsp;&nbsp; {:hook('report',array('type'=>$MODULE_ALIAS.'/'.$MODULE_ALIAS,'url'=>"Weibo/Index/weiboDetail?id=$weibo[id]",'data'=>array('weibo-id'=>$weibo['id'])))}
                        </span>  
                    </p>
                    <div class="weibo_content_p ">
                        {$weibo.fetchContent}
                    	
                    </div>
                    <div class="col-xs-12 weibo_content_bottom">
		                <div class="col-xs-12" style="padding: 0;text-align: center" data-weibo-id="{$weibo.id}">
		                    <php>
		                        $weiboCommentTotalCount = $weibo['comment_count'];
		                    </php>
		                    <include file="./Application/Weibo/View/default/Index/_operation.html"/>
		                </div>
		            </div>
		            <div class="clearfix visible-xs-block"></div>
		            <div class="row weibo-comment-list"   <if condition="modC('SHOW_COMMENT',1)">style="display: block;" <else/> style="display: none;" </if> data-weibo-id="{$weibo.id}">
		            <if condition="modC('SHOW_COMMENT',1)">
		            <div class="col-xs-12">
		                <div class="light-jumbotron weibo-comment-block" style="padding: 1em 2em;">
		                    <div class="weibo-comment-container">
		                        {:W('Weibo/Comment/someComment',array('weibo_id'=>$weibo['id']))}
		                    </div>
		                </div>
		            </div>
		        	</if>
		        	</div>
                </div>
            </div>
            
        </div>
        
    </div>
</div>
</if>
<script>
  // alert($('.weibo-comment-container').text());
</script>
